<div id="submenu">
    {rights right='stocks_view'}<a href="{$site_admin}m=inventory&s=stocks.php" class="{if $subject=='stocks'}on{/if}">库存管理</a>{/rights}
</div>
